<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    //数组创建1
    let arr=new Array();
    //数组创建2
    let array=[1,2,3,4,"helllo"]
    console.log(typeof(arr))
    console.log(typeof(array))
    console.log(arr)
    console.log(array)
    console.log(arr.length)
    console.log(array.length)
    console.log(arr[0])
    console.log(array[0])
    array="hello"
    console.log(typeof(array))

</script>
</html>